package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.AttendCalendarExample.E_ATTEND_PERIOD_JSON;
import static org.jsola.hr.example.AttendCalendarExample.E_ATTEND_PLAN_ID;
import static org.jsola.hr.example.AttendCalendarExample.E_COMPANY_ID;
import static org.jsola.hr.example.AttendCalendarExample.E_DATE_TYPE;
import static org.jsola.hr.example.AttendCalendarExample.E_DAY;
import static org.jsola.hr.example.AttendCalendarExample.E_MONTH;
import static org.jsola.hr.example.AttendCalendarExample.E_NEED_ATTEND;
import static org.jsola.hr.example.AttendCalendarExample.E_REASON;
import static org.jsola.hr.example.AttendCalendarExample.E_YEAR;
import static org.jsola.hr.example.AttendCalendarExample.N_ATTEND_PERIOD_JSON;
import static org.jsola.hr.example.AttendCalendarExample.N_ATTEND_PLAN_ID;
import static org.jsola.hr.example.AttendCalendarExample.N_COMPANY_ID;
import static org.jsola.hr.example.AttendCalendarExample.N_DATE_TYPE;
import static org.jsola.hr.example.AttendCalendarExample.N_DAY;
import static org.jsola.hr.example.AttendCalendarExample.N_MONTH;
import static org.jsola.hr.example.AttendCalendarExample.N_NEED_ATTEND;
import static org.jsola.hr.example.AttendCalendarExample.N_REASON;
import static org.jsola.hr.example.AttendCalendarExample.N_YEAR;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【考勤日历】列表展示对象")
@Data
public class AttendCalendarListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_ATTEND_PLAN_ID, example = E_ATTEND_PLAN_ID)
    private String attendPlanId;

    @ApiModelProperty(notes = N_YEAR, example = E_YEAR)
    private String year;

    @ApiModelProperty(notes = N_MONTH, example = E_MONTH)
    private String month;

    @ApiModelProperty(notes = N_DAY, example = E_DAY)
    private String day;

    @ApiModelProperty(notes = N_DATE_TYPE, example = E_DATE_TYPE)
    private Integer dateType;

    @ApiModelProperty(notes = N_NEED_ATTEND, example = E_NEED_ATTEND)
    private Boolean needAttend;

    @ApiModelProperty(notes = N_ATTEND_PERIOD_JSON, example = E_ATTEND_PERIOD_JSON)
    private String attendPeriodJson;

    @ApiModelProperty(notes = N_REASON, example = E_REASON)
    private String reason;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

